<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title></title>
    <script type="text/javascript" src="http://cart.tbao.cn/static/cart/js/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="http://cart.tbao.cn/static/cart/bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript" src="http://cart.tbao.cn/static/cart/js/swiper.min.js"></script>
	<script src="http://cart.tbao.cn/static/cart/js/swiper.min.js"></script>
    <link rel="stylesheet" type="text/css" href="http://cart.tbao.cn/static/cart/css/swiper.min.css" />
    <link rel="stylesheet" type="text/css" href="http://cart.tbao.cn/static/cart/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="http://cart.tbao.cn/static/cart/css/success.css" />

 </head>

    <body>
    <!--头部-->
    <div class="alert-info">
        <div class="hd_wrap_top">
        <ul class="hd_wrap_left">
        <li class="hd_home"><i class="glyphicon glyphicon-home"></i>
        <a href="http://tbao.cn">淘宝商城首页</a>
        </li>

        </ul>

        <ul class="hd_wrap_right">
            <li style="border: 0;" th:if="${session.loginUser == null}">
                <a style="width: 120px" href="http://cart.tbao.cnhttp://auth.tbao.cn/login.html" class="aa" >你好，请登录</a>
            </li>
            <li style="border: 0; width: 100px"  th:if="${session.loginUser != null}">

                <a style="width: 120px" href="http://cart.tbao.cn">
                   欢迎：[[${session.loginUser.nickname == null? '欢迎' : session.loginUser.nickname}]]
                </a>
            </li>
            <li th:if="${session.loginUser != null}" >
                <img style="width: 30px;height: 30px" th:src="http://cart.tbao.cn${session.loginUser.header}">
            </li>
               <li th:if="${session.loginUser != null}"><a href="http://cart.tbao.cnjavascript:;">个人中心</a></li>
            </li>
            <li th:if="${session.loginUser == null}">
                <a href="http://cart.tbao.cn" style="color: red;">免费注册</a>
            </li>
        <li class="spacer"></li>

        <li>
        <a href="http://cart.tbao.cnhttp://order.tbao.cn/list.html">我的订单</a>
        </li>



        </ul>

        </div>
      </div>

        <div class="nav-tabs-justified">
        <div class="nav_wrap">

        <div class="nav_top">
        <div class="nav_top_one">
   
        </div>
        <div class="nav_top_two"><input type="text" /><button>搜索</button></div>





    </div>

    </div>
    </div>

    <div class="main">

        <div class="success-wrap">
        <div class="w" id="result">
        <div class="m succeed-box">

            <div th:if="${orderSn!=null}" class="mc success-cont">
                <h1>恭喜：秒杀成功，订单号[[${orderSn}]]</h1>
                <a style="color: red" th:href="${'http://order.tbao.cn/payOrder?orderSn='+orderSn}">去支付</a>
            </div>
            <div th:if="${orderSn==null}">
                <h5>秒杀失败，下次再来</h5>
                <a href="http://tbao.cn">返回商城首页</a>
            </div>
    </div>

    </div>
    </div>

    </div>
    </body>
    <script type="text/javascript" src="http://cart.tbao.cn/static/cart/js/success.js"></script>

</html>
